#ifndef _Nodo_h_
#define _Nodo_h_
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
  class TNodo {
    protected :
      void  *info;
      TNodo *next;
    public :
      TNodo():info(NULL), next(NULL) {};
      TNodo(void* dato):info(dato){next = NULL;};
      ~TNodo(){if (info) delete info;};
      void* Info() {return info;};
      void Info(void* dato){info = dato;};
      TNodo* Next(){return next;};
      void Next(TNodo* prox){next = prox;};
      TNodo operator=(const TNodo &NodoT) {info = NodoT.info; next = NodoT.next; return *this;};
  };
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
#endif
